package com.ktwlsoft.archivemanage.domain.dao.repository.guiBusiness;

import java.util.List;

import com.ktwlsoft.archivemanage.domain.dao.entity.guiBusiness.GuiGuidanceItem;
import org.apache.ibatis.annotations.Mapper;

/**
 * 指导条目
 *
 * @author zhuhe on 2020-03-12 14:07:50
 * @version 1.0
 */
@Mapper
public interface IGuiGuidanceItemMapper {
	
	/**
	 * 查询列表 on 2020-03-12 14:07:50
	 * @param guiGuidanceItem guiGuidanceItem
	 * @return List<GuiGuidanceItem>
	 */
	List<GuiGuidanceItem> findList(GuiGuidanceItem guiGuidanceItem);

	/**
	 * 根据id查询信息 on 2020-03-12 14:07:50
	 * @param id id
	 * @return GuiGuidanceItem
	 */
	GuiGuidanceItem getById(Long id);

	/**
	 * 根据id删除信息 on 2020-03-12 14:07:50
	 * @param id id
	 * @return int
	 */
	int deleteById(Long id);
	
	/**
	 * 根据id集合批量删除信息 on 2020-03-12 14:07:50
	 * @param ids ids
	 * @return int
	 */
	int deleteByIds(List<Long> ids);

	/**
	 * 插入 on 2020-03-12 14:07:50
	 * @param guiGuidanceItem guiGuidanceItem
	 * @return int
	 */
    int insert(GuiGuidanceItem guiGuidanceItem);

	/**
	 * 批量插入 2020-03-12 14:07:50
	 *
	 * @param list list
	 * @return int
	 */
	int manyInsert(List<GuiGuidanceItem> list);

	/**
	 * 更新 on 2020-03-12 14:07:50
	 * @param guiGuidanceItem guiGuidanceItem
	 * @return int
	 */
    int update(GuiGuidanceItem guiGuidanceItem);
}
